﻿@page "/"
@using Volo.Abp.MultiTenancy
@inherits MPSComponentBase
@inject AuthenticationStateProvider AuthenticationStateProvider

<PageTitle>Index</PageTitle>

<div class="page-content">
    <Alert Color="@Color.Success"
           Icon="fa fa-check-circle">
        Congratulations, Bootstrap blazor is successfully running!
    </Alert>

    <Divider />

    <div style="text-align: center">
        <p>@L["LongWelcomeMessage"]</p>

        @if (!CurrentUser.IsAuthenticated)
        {
            <a class="btn btn-primary" href="/Account/Login">
                @L["Login"]
            </a>
        }
    </div>
</div>